<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class HallMenu
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $pid
 * @property string $code
 * @property string $name
 * @property int $level
 * @property bool $jump_switch
 * @property string $color
 * @property string $img_url
 * @property bool $is_display
 * @property int $sort
 * @property bool $is_hot
 * @property bool $is_display_icon
 * @property bool $is_edit
 * @property int $type
 * @property int $status
 * @property bool $is_default
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class HallMenu extends Eloquent
{
	protected $table = 'hall_menu';

	protected $casts = [
		'hall_id' => 'int',
		'pid' => 'int',
		'level' => 'int',
		'jump_switch' => 'bool',
		'is_display' => 'bool',
		'sort' => 'int',
		'is_hot' => 'bool',
		'is_display_icon' => 'bool',
		'is_edit' => 'bool',
		'type' => 'int',
		'status' => 'int',
		'is_default' => 'bool'
	];

	protected $fillable = [
		'hall_id',
		'pid',
		'code',
		'name',
		'level',
		'jump_switch',
		'color',
		'img_url',
		'is_display',
		'sort',
		'is_hot',
		'is_display_icon',
		'is_edit',
		'type',
		'status',
		'is_default'
	];
}
